{include file="public/header" /}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/Community/index')}">返回</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                    <form class="layui-form form-container" action="{:url('admin/Community/addm')}" method="post">


                        <div class="layui-form-item">
                            <label class="layui-form-label">标题</label>
                            <div class="layui-input-block">
                                <input type="text" name="title" value="" placeholder="请输入商品价格" class="layui-input">
                            </div>
                        </div>


                        <div class="layui-form-item">
                            <label class="layui-form-label">内容</label>
                            <div class="layui-input-block">
                                <input type="text" name="content" value=""  placeholder="请输入商品详情" class="layui-input">
                            </div>
                        </div>

                        <div class="layui-form-item">
                        <label class="layui-form-label">发布人</label>
                        <div class="layui-input-block">
                            <input type="text" name="author" value="" placeholder="请输入商品名称" class="layui-input">
                        </div>
                    </div>





                        <div class="layui-form-item">
                            <label class="layui-form-label">留言</label>
                            <div class="layui-input-block">
                                <input type="text" name="leave_word" value="" class="layui-input">
                            </div>
                        </div>






                        <div class="layui-form-item">
                            <label class="layui-form-label">用户ID</label>
                            <div class="layui-input-block">
                                <select name="user_id" lay-verify="required">

                                    <option value="1"></option>

                                </select>
                            </div>
                        </div>



                        <div class="layui-form-item">
                            <label class="layui-form-label">排序</label>
                            <div class="layui-input-block">
                                <input type="text" name="sort" value="1" required  lay-verify="required" class="layui-input">
                            </div>
                        </div>














                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="submit" class="layui-btn" value="保存数据">
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}